package com.example.spring_xx_u_market;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.jdbc.core.JdbcTemplate;
import util.utilmysql.UtilDruid;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class})
public class SpringXxUMarketApplication {
    public static JdbcTemplate jdbcTemplate = new JdbcTemplate(UtilDruid.getDateSource());

    public static void main(String[] args) {
        SpringApplication.run(SpringXxUMarketApplication.class, args);
    }
}
